package com.example.demo.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

@Data
public class OrderItem {
	private Integer id;
	private String orderNum;
	private Integer goodsID;
	private Integer sellerID;
	private String goodsName;
	private String goodsImg;
	private double price;
	private Integer num;
	private double totalPrice;
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private LocalDate createTime;
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private LocalDate updateTime;
}
